{% extends "base.html" %}

{% block title %}
	归档 | Adoryn Blog
{% endblock %}

{% block path %}
	<a href="{% url 'home'%}" titile="返回首页" class="icon-home icon-large"></a>&nbsp;/&nbsp;归档
{% endblock %}

{% block content %}
	{% if archive %}
		{% for key,value in archive.items %}
			<div class="archive">
				<div id="archives">
					<h3 class="al_year">{{ key.year }}年{{ key.month }}月</h3>

					<ul class="al_month_list">
						{% for i in value reversed %}
							<li>
								<a href="{{ i.get_absolute_url }}">
									<span style="position:absolute;">
										{{ i.publish_time.month }}月{{i.publish_time.day}}日&nbsp;
									</span>
									<span class="liaspan" style="position:absolute; left:150px">&nbsp;{{ i }}</span>
								</a>
							</li>
						{% endfor %}
					</ul>
				</div>
			</div>
		{% endfor %}
	{% endif %}
{% endblock %}

{% block side %}
	{% include "blog/_side.html" %}
{% endblock %}
